home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
AUDIO
/
SBVOICE
/
PLAYSB.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-08-11
|
377b
|
21 lines
{$M 8192,0,60000}
USES
SBVoice;
VAR
Rate : Word;
BEGIN
If SBInstalled=FALSE then Begin
Writeln('A soundblaster compatible card would help.');
Writeln;
Halt(1)
End;
LoadSB('CHESTPAI',1);
Rate:=12000;
Repeat
SetPlayRate(1,Rate);
PlaySB(1);
Repeat until VOCStatus=0;
Rate:=Rate-2000
Until Rate<4000;
RemoveSB
END.